package com.travel.utils;

public class PhoneCode {
  private static int newcode;

  public static int getNewcode() {
    return newcode;
  }

  public static void setNewcode() {
    //生成4位随机数
    newcode = (int) (Math.random() * 9999) + 100;
  }
}
